package com.jthinker.blog.bean.vo;

import java.io.Serializable;
import java.util.Date;

/**
 * User: Gang Chen
 * Date: 2015/8/5 19:00
 */
public class UserWrapper implements Serializable
{
    private Long id;

    private String username;

    private byte locked;

    private String nickname;

    private Date registered;

    private String roleIds;

    public Long getId()
    {
        return id;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public String getUsername()
    {
        return username;
    }

    public void setUsername(String username)
    {
        this.username = username;
    }

    public byte getLocked()
    {
        return locked;
    }

    public void setLocked(byte locked)
    {
        this.locked = locked;
    }

    public String getNickname()
    {
        return nickname;
    }

    public void setNickname(String nickname)
    {
        this.nickname = nickname;
    }

    public Date getRegistered()
    {
        return registered;
    }

    public void setRegistered(Date registered)
    {
        this.registered = registered;
    }

    public String getRoleIds()
    {
        return roleIds;
    }

    public void setRoleIds(String roleIds)
    {
        this.roleIds = roleIds;
    }

    @Override
    public String toString()
    {
        return "UserWrapper{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", locked=" + locked +
                ", nickname='" + nickname + '\'' +
                ", registered=" + registered +
                ", roleIds='" + roleIds + '\'' +
                '}';
    }
}
